<div id="div1" style="border-right: thin solid #000000;">
TEXT
</div>

<div id="div2" style="border-right-width: thin; border-right-style: solid; border-right-color: #000000;">
TEXT
</div>